<div class="profile" ng-controller="ProfileCtrl" ng-init="initProfile()">

  <div ng-include="'angular/template/include/toptip.html'">

  </div>

  <div class="profile-logo"><img src="angular/images/logo.png" alt="logo"/></div>

  <div class="text-center profile-info">
    <p>
      <a href="#/{{customer.id}}/profile/detail/edit" style="color: #333333">
        <label ng-show="customer.profile.nickname != undefined">{{customer.profile.nickname}}</label>
        <label ng-show="customer.profile.sex != undefined">{{customer.profile.sex}}</label>
        <label ng-show="customer.profile.age != undefined">{{customer.profile.age}}岁</label>
        <label ng-show="customer.profile.city.name != undefined">{{customer.profile.city.name}}</label>
        <span class="icon"></span>
        <label ng-show="customer.profile == undefined" class="gray-dark">完善用户信息</label>
        <label>
         <span class="icon icon-large icon-edit" style="top: -2px;"></span>
        </label>
      </a>
    </p>
    <p class="top-margin-10">
      <label class="gray-dark font-sm">圈圈账号：{{customer.code}}</label>
    </p>
    <p class="text-center"></p>
  </div>
  <div class="top-margin-20 text-center">
    <div class="profile-label text-left" ng-click="editLabel('INTEREST')">
      <label>兴趣爱好</label>
      <div class="label-warp">
        <span ng-repeat="interestTag in interestTags"><small>{{interestTag.name}}</small></span>
        <span ng-show="interestTags.length == 0">添加标签</span>
      </div>
    </div>
    <div class="profile-label text-left" ng-click="editLabel('LIFE')">
      <label>生活标签</label>
      <div class="label-warp">
        <span ng-repeat="lifeTag in lifeTags"><small>{{lifeTag.name}}</small></span>
        <span ng-show="lifeTags.length == 0"><small>添加标签</small></span>
      </div>
    </div>
  </div>
</div>
